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. 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.
DeleteEnvironment' | |
|
Instances
:: 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:
$sel:applicationId:DeleteEnvironment'
, deleteEnvironment_applicationId
- The application ID that includes the environment you want to delete.
$sel:environmentId:DeleteEnvironment'
, deleteEnvironment_environmentId
- The ID of the environment you want to delete.
Request Lenses
deleteEnvironment_applicationId :: Lens' DeleteEnvironment Text Source #
The application ID that includes the environment you want to delete.
deleteEnvironment_environmentId :: Lens' DeleteEnvironment Text Source #
The ID of the environment you want to delete.
Destructuring the Response
data DeleteEnvironmentResponse Source #
See: newDeleteEnvironmentResponse
smart constructor.
Instances
Eq DeleteEnvironmentResponse Source # | |
Read DeleteEnvironmentResponse Source # | |
Show DeleteEnvironmentResponse Source # | |
Defined in Amazonka.AppConfig.DeleteEnvironment showsPrec :: Int -> DeleteEnvironmentResponse -> ShowS # show :: DeleteEnvironmentResponse -> String # showList :: [DeleteEnvironmentResponse] -> ShowS # | |
Generic DeleteEnvironmentResponse Source # | |
Defined in Amazonka.AppConfig.DeleteEnvironment type Rep DeleteEnvironmentResponse :: Type -> Type # | |
NFData DeleteEnvironmentResponse Source # | |
Defined in Amazonka.AppConfig.DeleteEnvironment rnf :: DeleteEnvironmentResponse -> () # | |
type Rep DeleteEnvironmentResponse Source # | |
Defined in Amazonka.AppConfig.DeleteEnvironment |
newDeleteEnvironmentResponse :: DeleteEnvironmentResponse Source #
Create a value of DeleteEnvironmentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.