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 |
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.
Instances
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:
$sel:hostArn: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.
DeleteHostResponse' | |
|
Instances
newDeleteHostResponse Source #
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.