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 |
Delete an environment.
Synopsis
- data DeleteEnvironment = DeleteEnvironment' {}
- newDeleteEnvironment :: Text -> DeleteEnvironment
- deleteEnvironment_name :: Lens' DeleteEnvironment Text
- data DeleteEnvironmentResponse = DeleteEnvironmentResponse' {}
- newDeleteEnvironmentResponse :: Int -> DeleteEnvironmentResponse
- deleteEnvironmentResponse_environment :: Lens' DeleteEnvironmentResponse (Maybe Environment)
- deleteEnvironmentResponse_httpStatus :: Lens' DeleteEnvironmentResponse Int
Creating a Request
data DeleteEnvironment Source #
See: newDeleteEnvironment
smart constructor.
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:name:DeleteEnvironment'
, deleteEnvironment_name
- The name of the environment to delete.
Request Lenses
deleteEnvironment_name :: Lens' DeleteEnvironment Text Source #
The name 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:environment:DeleteEnvironmentResponse'
, deleteEnvironmentResponse_environment
- The environment detail data that's returned by AWS Proton.
$sel:httpStatus:DeleteEnvironmentResponse'
, deleteEnvironmentResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEnvironmentResponse_environment :: Lens' DeleteEnvironmentResponse (Maybe Environment) Source #
The environment detail data that's returned by AWS Proton.
deleteEnvironmentResponse_httpStatus :: Lens' DeleteEnvironmentResponse Int Source #
The response's http status code.