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 specific application from the specific runtime environment where it was previously deployed. You cannot delete a runtime environment using DeleteEnvironment if any application has ever been deployed to it. This API removes the association of the application with the runtime environment so you can delete the environment smoothly.
Synopsis
- data DeleteApplicationFromEnvironment = DeleteApplicationFromEnvironment' {}
- newDeleteApplicationFromEnvironment :: Text -> Text -> DeleteApplicationFromEnvironment
- deleteApplicationFromEnvironment_applicationId :: Lens' DeleteApplicationFromEnvironment Text
- deleteApplicationFromEnvironment_environmentId :: Lens' DeleteApplicationFromEnvironment Text
- data DeleteApplicationFromEnvironmentResponse = DeleteApplicationFromEnvironmentResponse' {
- httpStatus :: Int
- newDeleteApplicationFromEnvironmentResponse :: Int -> DeleteApplicationFromEnvironmentResponse
- deleteApplicationFromEnvironmentResponse_httpStatus :: Lens' DeleteApplicationFromEnvironmentResponse Int
Creating a Request
data DeleteApplicationFromEnvironment Source #
See: newDeleteApplicationFromEnvironment
smart constructor.
DeleteApplicationFromEnvironment' | |
|
Instances
newDeleteApplicationFromEnvironment Source #
Create a value of DeleteApplicationFromEnvironment
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:
DeleteApplicationFromEnvironment
, deleteApplicationFromEnvironment_applicationId
- The unique identifier of the application you want to delete.
DeleteApplicationFromEnvironment
, deleteApplicationFromEnvironment_environmentId
- The unique identifier of the runtime environment where the application
was previously deployed.
Request Lenses
deleteApplicationFromEnvironment_applicationId :: Lens' DeleteApplicationFromEnvironment Text Source #
The unique identifier of the application you want to delete.
deleteApplicationFromEnvironment_environmentId :: Lens' DeleteApplicationFromEnvironment Text Source #
The unique identifier of the runtime environment where the application was previously deployed.
Destructuring the Response
data DeleteApplicationFromEnvironmentResponse Source #
See: newDeleteApplicationFromEnvironmentResponse
smart constructor.
DeleteApplicationFromEnvironmentResponse' | |
|
Instances
newDeleteApplicationFromEnvironmentResponse Source #
Create a value of DeleteApplicationFromEnvironmentResponse
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:DeleteApplicationFromEnvironmentResponse'
, deleteApplicationFromEnvironmentResponse_httpStatus
- The response's http status code.
Response Lenses
deleteApplicationFromEnvironmentResponse_httpStatus :: Lens' DeleteApplicationFromEnvironmentResponse Int Source #
The response's http status code.