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 Cloud9 development environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.
Synopsis
- data DeleteEnvironment = DeleteEnvironment' {}
- newDeleteEnvironment :: Text -> DeleteEnvironment
- deleteEnvironment_environmentId :: Lens' DeleteEnvironment Text
- data DeleteEnvironmentResponse = DeleteEnvironmentResponse' {
- httpStatus :: Int
- newDeleteEnvironmentResponse :: Int -> DeleteEnvironmentResponse
- deleteEnvironmentResponse_httpStatus :: Lens' DeleteEnvironmentResponse Int
Creating a Request
data DeleteEnvironment Source #
See: newDeleteEnvironment
smart constructor.
DeleteEnvironment' | |
|
Instances
Create a value of DeleteEnvironment
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:environmentId:DeleteEnvironment'
, deleteEnvironment_environmentId
- The ID of the environment to delete.
Request Lenses
deleteEnvironment_environmentId :: Lens' DeleteEnvironment Text Source #
The ID of the environment to delete.
Destructuring the Response
data DeleteEnvironmentResponse Source #
See: newDeleteEnvironmentResponse
smart constructor.
DeleteEnvironmentResponse' | |
|
Instances
newDeleteEnvironmentResponse Source #
Create a value of DeleteEnvironmentResponse
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:DeleteEnvironmentResponse'
, deleteEnvironmentResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEnvironmentResponse_httpStatus :: Lens' DeleteEnvironmentResponse Int Source #
The response's http status code.