| 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 |
Amazonka.EMRServerless.DeleteApplication
Description
Deletes an application. An application has to be in a stopped or created state in order to be deleted.
Synopsis
- data DeleteApplication = DeleteApplication' {}
- newDeleteApplication :: Text -> DeleteApplication
- deleteApplication_applicationId :: Lens' DeleteApplication Text
- data DeleteApplicationResponse = DeleteApplicationResponse' {
- httpStatus :: Int
- newDeleteApplicationResponse :: Int -> DeleteApplicationResponse
- deleteApplicationResponse_httpStatus :: Lens' DeleteApplicationResponse Int
Creating a Request
data DeleteApplication Source #
See: newDeleteApplication smart constructor.
Constructors
| DeleteApplication' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteApplication |
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_applicationId - The ID of the application that will be deleted.
Request Lenses
deleteApplication_applicationId :: Lens' DeleteApplication Text Source #
The ID of the application that will be deleted.
Destructuring the Response
data DeleteApplicationResponse Source #
See: newDeleteApplicationResponse smart constructor.
Constructors
| DeleteApplicationResponse' | |
Fields
| |
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:
$sel:httpStatus:DeleteApplicationResponse', deleteApplicationResponse_httpStatus - The response's http status code.
Response Lenses
deleteApplicationResponse_httpStatus :: Lens' DeleteApplicationResponse Int Source #
The response's http status code.