def TerminateInstance(region, instance_id):
 ec2 = _Connect(region)
 ec2.terminate_instances([instance_id])

def TerminateInstance ( region , instance_id ) : ec2 = _Connect ( region ) ec2 . terminate_instances ( [ instance_id ] )
terminate instance_id in region .