| 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.AppConfig.DeleteEnvironment
Description
Deletes an environment. Deleting an environment does not delete a configuration from a host.
Synopsis
- data DeleteEnvironment = DeleteEnvironment' {}
 - newDeleteEnvironment :: Text -> Text -> DeleteEnvironment
 - deleteEnvironment_applicationId :: Lens' DeleteEnvironment Text
 - deleteEnvironment_environmentId :: Lens' DeleteEnvironment Text
 - data DeleteEnvironmentResponse = DeleteEnvironmentResponse' {
 - newDeleteEnvironmentResponse :: DeleteEnvironmentResponse
 
Creating a Request
data DeleteEnvironment Source #
See: newDeleteEnvironment smart constructor.
Constructors
| DeleteEnvironment' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteEnvironment | 
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:
DeleteEnvironment, deleteEnvironment_applicationId - The application ID that includes the environment that you want to
 delete.
DeleteEnvironment, deleteEnvironment_environmentId - The ID of the environment that you want to delete.
Request Lenses
deleteEnvironment_applicationId :: Lens' DeleteEnvironment Text Source #
The application ID that includes the environment that you want to delete.
deleteEnvironment_environmentId :: Lens' DeleteEnvironment Text Source #
The ID of the environment that you want to delete.
Destructuring the Response
data DeleteEnvironmentResponse Source #
See: newDeleteEnvironmentResponse smart constructor.
Constructors
| DeleteEnvironmentResponse' | |
Instances
newDeleteEnvironmentResponse :: DeleteEnvironmentResponse Source #
Create a value of DeleteEnvironmentResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.