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 an application that is specified either by its application ID or name. All associated attribute groups and resources must be disassociated from it before deleting an application.
Synopsis
- data DeleteApplication = DeleteApplication' {
- application :: Text
- newDeleteApplication :: Text -> DeleteApplication
- deleteApplication_application :: Lens' DeleteApplication Text
- data DeleteApplicationResponse = DeleteApplicationResponse' {}
- newDeleteApplicationResponse :: Int -> DeleteApplicationResponse
- deleteApplicationResponse_application :: Lens' DeleteApplicationResponse (Maybe ApplicationSummary)
- deleteApplicationResponse_httpStatus :: Lens' DeleteApplicationResponse Int
Creating a Request
data DeleteApplication Source #
See: newDeleteApplication
smart constructor.
DeleteApplication' | |
|
Instances
Create a value of DeleteApplication
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:
DeleteApplication
, deleteApplication_application
- The name or ID of the application.
Request Lenses
deleteApplication_application :: Lens' DeleteApplication Text Source #
The name or ID of the application.
Destructuring the Response
data DeleteApplicationResponse Source #
See: newDeleteApplicationResponse
smart constructor.
DeleteApplicationResponse' | |
|
Instances
newDeleteApplicationResponse Source #
Create a value of DeleteApplicationResponse
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:
DeleteApplication
, deleteApplicationResponse_application
- Information about the deleted application.
$sel:httpStatus:DeleteApplicationResponse'
, deleteApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteApplicationResponse_application :: Lens' DeleteApplicationResponse (Maybe ApplicationSummary) Source #
Information about the deleted application.
deleteApplicationResponse_httpStatus :: Lens' DeleteApplicationResponse Int Source #
The response's http status code.