| 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.CodeStarConnections.DeleteHost
Description
The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.
A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.
Synopsis
Creating a Request
data DeleteHost Source #
See: newDeleteHost smart constructor.
Constructors
| DeleteHost' | |
Instances
Arguments
| :: Text | |
| -> DeleteHost |
Create a value of DeleteHost 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:
DeleteHost, deleteHost_hostArn - The Amazon Resource Name (ARN) of the host to be deleted.
Request Lenses
deleteHost_hostArn :: Lens' DeleteHost Text Source #
The Amazon Resource Name (ARN) of the host to be deleted.
Destructuring the Response
data DeleteHostResponse Source #
See: newDeleteHostResponse smart constructor.
Constructors
| DeleteHostResponse' | |
Fields
| |
Instances
newDeleteHostResponse Source #
Arguments
| :: Int | |
| -> DeleteHostResponse |
Create a value of DeleteHostResponse 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:DeleteHostResponse', deleteHostResponse_httpStatus - The response's http status code.
Response Lenses
deleteHostResponse_httpStatus :: Lens' DeleteHostResponse Int Source #
The response's http status code.