@Override
    public DeleteSubnetResult deleteSubnet(DeleteSubnetRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteSubnet(request);
    }
<p>
Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the
subnet.
</p>

@param deleteSubnetRequest
@return Result of the DeleteSubnet operation returned by the service.
@sample AmazonEC2.DeleteSubnet
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnet" target="_top">AWS API
     Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java