@Override
    public DeleteHostResult deleteHost(DeleteHostRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteHost(request);
    }
<p>
The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.
</p>
<note>
<p>
A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.
</p>
</note>

@param deleteHostRequest
@return Result of the DeleteHost operation returned by the service.
@throws ResourceNotFoundException
        Resource not found. Verify the connection resource ARN and try again.
@throws ResourceUnavailableException
        Resource not found. Verify the ARN for the host resource and try again.
@sample AWSCodeStarconnections.DeleteHost
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/DeleteHost"
     target="_top">AWS API Documentation</a>
aws-java-sdk-codestarconnections/src/main/java/com/amazonaws/services/codestarconnections/AWSCodeStarconnectionsClient.java